.safe_drive_compar_sty {
  color: #333;
  .left_cont {
    position: fixed;
    top: 50%;
    padding: 20px;
    transform: translateY(-50%);
    .left_bot {
      margin-left: -10px;
      margin-top: 10px;
      font-size: 14px;
      font-weight: bold;
      color: #fff;
      padding: 2px 5px;
      border-radius: 3px;
    }
    .show_diff_btn {
      background: #ff6d3b;
      &:hover {
        background: rgba(255, 109, 59, 0.8);
      }
    }
    .hide_diff_btn {
      background: #409eff;
      &:hover {
        background: rgba(64, 158, 255, 0.8);
      }
    }
  }
  .main_top {
    height: 210px;
    position: fixed;
    top: 0px;
    left: 0px;
    width: calc(100% - 215px);
    display: flex;
    justify-content: flex-start;
    .top_left {

    }
    .top_right {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background: #fff;
      .top_li>div {
        text-align: center;
          line-height: 40px;
          height: 40px;
          border-bottom: 1px solid #ddd;
          border-right: 1px solid #ddd;
          &:first-child {
            border-top: 1px solid #ddd;
          }
          &:nth-child(2) {
            height: 130px;
            line-height: 130px;
          }
      }
      .top_li {
        width: 130px;
        flex-shrink: 0;
        // div {
          // text-align: center;
          // line-height: 40px;
          // height: 40px;
          // border-bottom: 1px solid #ddd;
          // border-right: 1px solid #ddd;
          // &:first-child {
          //   border-top: 1px solid #ddd;
          // }
          // &:nth-child(2) {
          //   height: 130px;
          //   line-height: 130px;
          // }
        // }
        &:first-child {
          div {
            border-left: 1px solid #ddd;
          }
        }
        .add_cont {
          display: flex;
          flex-direction: column;
          // justify-content: center;
          align-items: center;
          .add_btn {
            border-radius: 22px;
            border: 1px solid #f8f8f8;
            margin-top: 17px;
            cursor: pointer;
            &:hover {
              border: 1px solid #409eff;
            }
          }
          span {
            line-height: 1;
            margin-top: 5px;
          }
        }
        
      }
      .top_cont_li {
        position: relative;
        .del_person {
          display: inline-block;
          width: 20px;
          font-size: 16px;
          height: 20px;
          text-align: center;
          line-height: 20px;
          right: 0;
          top: 0;
          position: absolute;
          cursor: pointer;
          &:hover {
            background: #ff6d3b;
            color: #fff;
          }
        }
      }
      //   div {
      //     &:nth-child(2) {
      //       height: unset;
      //       line-height: unset;
      //     }
      //   }
      // }
    }
  }
  .mian_cont {
    // padding-top: 270px;
    // min-width: calc(100% - 160px);
    width: 100%;
    background: #fff;
    overflow-x: auto;
    height: 100%;
    overflow-y: auto;
    .cont_body {
      // margin-top: 100px;
      background: #fff;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .cont_li {
        width: 130px;
        flex-shrink: 0;
        div {
          text-align: center;
          line-height: 40px;
          height: 40px;
          border-bottom: 1px solid #ddd;
          border-right: 1px solid #ddd;
          padding: 0 2px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        &:first-child {
          div {
            border-left: 1px solid #ddd;
          }
        }
      }
    }
  }
}